﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using QLDKINTERNET.Public;
using QLDKINTERNET.BLL;

namespace WindowsFormsApplication1
{
    public partial class frmHome : Form
    {
        NguoiDungPublic nd = new NguoiDungPublic();
        public frmHome(NguoiDungPublic _nd)
        {
            InitializeComponent();
            nd = _nd;
        }

        private void frmHome_Load(object sender, EventArgs e)
        {
            if (nd.MaLoaiNguoiDung == "0")
            {
                quảnLýNgườiDùngToolStripMenuItem.Enabled = true;
            }
            else
            {
                quảnLýNgườiDùngToolStripMenuItem.Enabled = false;
            }
        }


    }
}
